package top.songxs.dao;

import org.springframework.stereotype.Repository;
import top.songxs.base.BaseDao;
import top.songxs.entity.Admin;

import java.util.List;

@Repository
public interface AdminDao extends BaseDao<Admin> {
    List<Admin> findAll();

    Admin getByUsername(String username);
}
